package com.springmvc.controller;

import com.springmvc.annotation.RequestMapping;
import com.springmvc.annotation.RequestParam;
import org.springframework.stereotype.Controller;

@Controller
public class HelloController {

    @RequestMapping("/test")
    public Object test(@RequestParam(value = "name") String name){
        System.out.println("--------hello--------");
        return name;
    }
}
